#include<iostream>
#include<unistd.h>
#include<pthread.h>
#include<string>
using namespace std;

#define NUM 10

struct thread_top
{
public:
    thread_top(const string& name,int top,const string& status = static_cast<const string>("OK"), int ret = 0 )
        :_name(name)
        ,_top(top)
        ,_status(status)
        ,_ret(ret)
    {}

    thread_top() = default;


    //输入
    string _name;
    int _top;
   
    //输出
    string _status;
    int _ret;
};